import request from './request'

export function _mobileLogin(phone,pwd) {
  return request({
    url: '/login/cellphone',
    params: {
      phone, 
      password: pwd
    }
  })
}

export function _emailLogin(email,pwd) {
  return request({
    url: '/login',
    params: {
      email, 
      password: pwd
    }
  })
}